/*
 * Timer.h
 *
 *  Created on: 2009-02-15
 *      Author: ck
 */

#ifndef TIMER_H_
#define TIMER_H_
#include <QThread>

class Timer : public QThread {
	Q_OBJECT
public:
	Timer(QObject * parent = 0);
	virtual ~Timer();
	void run();
	void setInterval(int inter);

signals:
	void timeout();

private:
	bool stop;
	int interval;

};

#endif /* TIMER_H_ */
